<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=0">

		<title>订单管理</title>

		<link href="/Public/person/AmazeUI-2.4.2/assets/css/admin.css" rel="stylesheet" type="text/css">
		<link href="/Public/person/AmazeUI-2.4.2/assets/css/amazeui.css" rel="stylesheet" type="text/css">

		<link href="/Public/person/css/personal.css" rel="stylesheet" type="text/css">
		<link href="/Public/person/css/orstyle.css" rel="stylesheet" type="text/css">

		<script src="/Public/person/AmazeUI-2.4.2/assets/js/jquery.min.js"></script>
		<script src="/Public/person/AmazeUI-2.4.2/assets/js/amazeui.js"></script>

		<!-- Theme CSS
		============================================ -->
   		<link href="/Public/mobilemall/css/themecss/so_megamenu.css" rel="stylesheet">
		<link id="color_scheme" href="/Public/mobilemall/css/theme.css" rel="stylesheet">

		 <!-- Libs CSS
		============================================ -->
	   	<link rel="stylesheet" href="/Public/mobilemall/css/bootstrap/css/bootstrap.min.css">
		<link href="/Public/mobilemall/css/font-awesome/css/font-awesome.min.css" rel="stylesheet">
		<link href="/Public/mobilemall/js/datetimepicker/bootstrap-datetimepicker.min.css" rel="stylesheet">
	   	<link href="/Public/mobilemall/js/owl-carousel/owl.carousel.css" rel="stylesheet">
		<link href="/Public/mobilemall/css/themecss/lib.css" rel="stylesheet">
		<link href="/Public/mobilemall/js/jquery-ui/jquery-ui.min.css" rel="stylesheet">

	</head>

	<body style="background: #F5F8FA">
		<!--头 -->
		<include file="./Application/Home/View/Share/header1.html"/>
        
			<b class="line"></b>
		<div class="center">
			<div class="col-main">
				<div class="main-wrap">

					<div class="user-order">

						<!--标题 -->
						<div class="am-cf am-padding">
							<div class="am-fl am-cf"><strong class="am-text-danger am-text-lg">订单管理</strong> / <small>Order</small></div>
						</div>
						<hr/>

						<div class="am-tabs am-tabs-d2 am-margin" data-am-tabs>

							<ul class="am-avg-sm-5 am-tabs-nav am-nav am-nav-tabs">
								<li class="am-active"><a href="#tab1">所有订单</a></li>
								<!-- <li><a href="#tab2">待付款</a></li> -->
								<li><a href="#tab3">待发货</a></li>
								<li><a href="#tab4">待收货</a></li>
								<li><a href="#tab5">待评价</a></li>
							</ul>

							<div class="am-tabs-bd">
								<div class="am-tab-panel am-fade am-in am-active" id="tab1">
									<div class="order-top">
										<div class="th th-item">
											<td class="td-inner">商品</td>
										</div>
										<div class="th th-price">
											<td class="td-inner">单价</td>
										</div>
										<div class="th th-number">
											<td class="td-inner">数量</td>
										</div>
										<div class="th th-operation">
											<td class="td-inner">商品操作</td>
										</div>
										<div class="th th-amount">
											<td class="td-inner">合计</td>
										</div>
										<div class="th th-status">
											<td class="td-inner">交易状态</td>
										</div>
										<div class="th th-change">
											<td class="td-inner">交易操作</td>
										</div>
									</div>

									<div class="order-main">
										<div class="order-list">
											
											<volist name="orderdatalist" id="vo">
					                                                                                           <div class="order-status5">
					                                                                                                        <div class="order-title">
					                                                                                                                     <div class="dd-num">订单编号：<a href="javascript:;">{$vo.id}</a></div>
					                                                                                                                     <span>成交时间：{$vo.createtime|date='Y年m月d日 H:i:s' ,### }</span>
					                                                                                                        </div>
					                                                                                                        <div class="order-content">
					                                                                                                                     <div class="order-left">
					                                                                                                                                  <volist name="vo.goodslist" id="v">
					                                                                                                                                  <ul class="item-list">
					                                                                                                                                                <li class="td td-item">
					                                                                                                                                                            <div class="item-pic">
					                                                                                                                                                                         <a href="#" class="J_MakePoint">
					                                                                                                                                                                                     <img src="{$v.goodsimg.0}" class="itempic J_ItemImg">
					                                                                                                                                                                         </a>
					                                                                                                                                                            </div>
					                                                                                                                                                            <div class="item-info">
					                                                                                                                                                                         <div class="item-basic-info">
					                                                                                                                                                                                      <a href="#">
					                                                                                                                                                                                                    <p>{$v.goodsname}</p>
					                                                                                                                                                                                                    
					                                                                                                                                                                                      </a>
					                                                                                                                                                                         </div>
					                                                                                                                                                            </div>
					                                                                                                                                                </li>
					                                                                                                                                                <li class="td td-price">
					                                                                                                                                                            <div class="item-price">￥{$v.goodsnow}</div>
					                                                                                                                                                </li>
					                                                                                                                                                <li class="td td-number">
					                                                                                                                                                            <div class="item-number">
					                                                                                                                                                                        <span>×</span>{$v.number}
					                                                                                                                                                            </div>
					                                                                                                                                                </li>
					                                                                                                                                                <li class="td td-operation">
					                                                                                                                                                            <div class="item-operation">
					                                                                                                                                                                        <switch name="vo.status" >
					                                                                                                                                                                        <case value="0">
					                                                                                                                                                                         <a href="refund.html">退款</a>
					                                                                                                                                                                         </case>
					                                                                                                                                                                         <case value="2">
					                                                                                                                                                                         <a href="/Home/Goods/showgoods?goodsid={$v.id}">评价</a>
					                                                                                                                                                                         </case>
					                                                                                                                                                                        </switch>
					                                                                                                                                                             </div>
					                                                                                                                                                </li>
					                                                                                                                                  </ul>
					                                                                                                                                  </volist>


					                                                                                                                     </div>
					                                                                                                                     <div class="order-right">
					                                                                                                                                  <li class="td td-amount">
					                                                                                                                                                <div class="item-amount">
					                                                                                                                                                    合计：￥{$vo.payprices}
					                                                                                                                                                    <p>含运费：<span>0.00</span></p>
					                                                                                                                                                </div>
					                                                                                                                                   </li>
					                                                                                                                                  <div class="move-right">
					                                                                                                                                                <li class="td td-status">
					                                                                                                                                                            <switch name="vo.status" >
					                                                                                                                                                            <case value="0">
					                                                                                                                                                                         <div class="item-status">
					                                                                                                                                                                                    <p class="Mystatus">已付款</p>
					                                                                                                                                                                                    <p class="order-info">等待发货</p>
					                                                                                                                                                                         </div>
					                                                                                                                                                            </case>
					                                                                                                                                                            <case value="1">
					                                                                                                                                                                          <div class="item-status">
					                                                                                                                                                                                    <p class="Mystatus">卖家已发货</p>
					                                                                                                                                                                                    <p class="order-info">等待收货</p>
					                                                                                                                                                                          </div>
					                                                                                                                                                            </case>
					                                                                                                                                                            <case value="2">
					                                                                                                                                                                         <div class="item-status">
					                                                                                                                                                                                    <p class="Mystatus">已收货</p>
					                                                                                                                                                                                    <p class="order-info">购物完成</p>
					                                                                                                                                                                         </div>
					                                                                                                                                                            </case>
					                                                                                                                                                            </switch>
					                                                                                                                                                              
					                                                                                                                                                </li>
					                                                                                                                                                <li class="td td-change">
					                                                                                                                                               	 <switch name="vo.status" >
					                                                                                                                                               	 <case value="0">
					                                                                                                                                                                         <div class="am-btn am-btn-danger anniu" onclick="shipment('{$vo.id}');">提醒发货</div>
					                                                                                                                                                            </case>
					                                                                                                                                                            <case value="1">
					                                                                                                                                                                          <div class="am-btn am-btn-danger anniu" onclick="receipt('{$vo.id}')">确认收货</div>
					                                                                                                                                                            </case>
					                                                                                                                                                            <case value="2">
					                                                                                                                                                                        <div class="am-btn am-btn-danger anniu"
					                                                                                                                                                                        onclick="delord('{$vo.id}')">删除订单</div>
					                                                                                                                                                            </case>
					                                                                                                                                                            
					                                                                                                                                                            </switch>
					                                                                                                                                                </li>
					                                                                                                                                   </div>
					                                                                                                                     </div>
					                                                                                                        </div>
					                                                                                            </div>
					                                                                              </volist>
					                                                                              <!-- 分页链接 -->
					                                                                              <div class="am-fr">
					                                                                                            {$show}
					                                                                              </div>
											
										</div>

									</div>

								</div>
								
								<div class="am-tab-panel am-fade" id="tab3">
									<div class="order-top">
										<div class="th th-item">
											<td class="td-inner">商品</td>
										</div>
										<div class="th th-price">
											<td class="td-inner">单价</td>
										</div>
										<div class="th th-number">
											<td class="td-inner">数量</td>
										</div>
										<div class="th th-operation">
											<td class="td-inner">商品操作</td>
										</div>
										<div class="th th-amount">
											<td class="td-inner">合计</td>
										</div>
										<div class="th th-status">
											<td class="td-inner">交易状态</td>
										</div>
										<div class="th th-change">
											<td class="td-inner">交易操作</td>
										</div>
									</div>

									<div class="order-main">
										<div class="order-list">
											 <volist name="orderlist" id="vo">
					                                                                                           <eq name="vo.status" value="0">
					                                                                                           <div class="order-status5">
					                                                                                                        <div class="order-title">
					                                                                                                                     <div class="dd-num">订单编号：<a href="javascript:;">{$vo.id}</a></div>
					                                                                                                                     <div class="dd-num">买家昵称：<a href="javascript:;">{$vo.username}</a></div>
					                                                                                                                     <span>成交时间：{$vo.createtime|date='Y年m月d日 H:i:s' ,### }</span>
					                                                                                                        </div>
					                                                                                                        <div class="order-content">
					                                                                                                                     <div class="order-left">
					                                                                                                                                  <volist name="vo.goodslist" id="v">
					                                                                                                                                  <ul class="item-list">
					                                                                                                                                                <li class="td td-item">
					                                                                                                                                                            <div class="item-pic">
					                                                                                                                                                                         <a href="#" class="J_MakePoint">
					                                                                                                                                                                                     <img src="{$v.goodsimg.0}" class="itempic J_ItemImg">
					                                                                                                                                                                         </a>
					                                                                                                                                                            </div>
					                                                                                                                                                            <div class="item-info">
					                                                                                                                                                                         <div class="item-basic-info">
					                                                                                                                                                                                      <a href="#">
					                                                                                                                                                                                                    <p>{$v.goodsname}</p>
					                                                                                                                                                                                                    
					                                                                                                                                                                                      </a>
					                                                                                                                                                                         </div>
					                                                                                                                                                            </div>
					                                                                                                                                                </li>
					                                                                                                                                                <li class="td td-price">
					                                                                                                                                                            <div class="item-price">￥{$v.goodsnow}</div>
					                                                                                                                                                </li>
					                                                                                                                                                <li class="td td-number">
					                                                                                                                                                            <div class="item-number">
					                                                                                                                                                                        <span>×</span>{$v.number}
					                                                                                                                                                            </div>
					                                                                                                                                                </li>
					                                                                                                                                                <li class="td td-operation">
					                                                                                                                                                            <div class="item-operation">
					                                                                                                                                                                         <a href="refund.html">退款</a>
					                                                                                                                                                             </div>
					                                                                                                                                                </li>
					                                                                                                                                  </ul>
					                                                                                                                                  </volist>


					                                                                                                                     </div>
					                                                                                                                     <div class="order-right">
					                                                                                                                                  <li class="td td-amount">
					                                                                                                                                                <div class="item-amount">
					                                                                                                                                                    合计：￥{$vo.payprices}
					                                                                                                                                                    <p>含运费：<span>0.00</span></p>
					                                                                                                                                                </div>
					                                                                                                                                   </li>
					                                                                                                                                  <div class="move-right">
					                                                                                                                                                <li class="td td-status">
					                                                                                                                                                             <div class="item-status">
					                                                                                                                                                                        <p class="Mystatus">已付款</p>
					                                                                                                                                                                        <p class="order-info">等待发货</p>
					                                                                                                                                                             </div>
					                                                                                                                                                </li>
					                                                                                                                                                <li class="td td-change">
					                                                                                                                                                            <div class="am-btn am-btn-danger anniu" onclick="shipment('{$vo.id}');">提醒发货</div>
					                                                                                                                                                </li>
					                                                                                                                                   </div>
					                                                                                                                     </div>
					                                                                                                        </div>
					                                                                                            </div>
					                                                                                           <else/>
					                                                                                           </eq> 
					                                                                              </volist>
					                                                                              <!-- 分页链接 -->
					                                                                              <div class="am-fr">
					                                                                                           
					                                                                              </div>
										</div>
									</div>
								</div>
								<div class="am-tab-panel am-fade" id="tab4">
									<div class="order-top">
										<div class="th th-item">
											<td class="td-inner">商品</td>
										</div>
										<div class="th th-price">
											<td class="td-inner">单价</td>
										</div>
										<div class="th th-number">
											<td class="td-inner">数量</td>
										</div>
										<div class="th th-operation">
											<td class="td-inner">商品操作</td>
										</div>
										<div class="th th-amount">
											<td class="td-inner">合计</td>
										</div>
										<div class="th th-status">
											<td class="td-inner">交易状态</td>
										</div>
										<div class="th th-change">
											<td class="td-inner">交易操作</td>
										</div>
									</div>

									<div class="order-main">
										<div class="order-list">
											<volist name="orderlist" id="vo">
					                                                                                           <eq name="vo.status" value="1">
					                                                                                           <div class="order-status5">
					                                                                                                        <div class="order-title">
					                                                                                                                     <div class="dd-num">订单编号：<a href="javascript:;">{$vo.id}</a></div>
					                                                                                                                     <div class="dd-num">买家昵称：<a href="javascript:;">{$vo.username}</a></div>
					                                                                                                                     <span>成交时间：{$vo.createtime|date='Y年m月d日 H:i:s' ,### }</span>
					                                                                                                        </div>
					                                                                                                        <div class="order-content">
					                                                                                                                     <div class="order-left">
					                                                                                                                                  <volist name="vo.goodslist" id="v">
					                                                                                                                                  <ul class="item-list">
					                                                                                                                                                <li class="td td-item">
					                                                                                                                                                            <div class="item-pic">
					                                                                                                                                                                         <a href="#" class="J_MakePoint">
					                                                                                                                                                                                     <img src="{$v.goodsimg.0}" class="itempic J_ItemImg">
					                                                                                                                                                                         </a>
					                                                                                                                                                            </div>
					                                                                                                                                                            <div class="item-info">
					                                                                                                                                                                         <div class="item-basic-info">
					                                                                                                                                                                                      <a href="#">
					                                                                                                                                                                                                    <p>{$v.goodsname}</p>
					                                                                                                                                                                                                    
					                                                                                                                                                                                      </a>
					                                                                                                                                                                         </div>
					                                                                                                                                                            </div>
					                                                                                                                                                </li>
					                                                                                                                                                <li class="td td-price">
					                                                                                                                                                            <div class="item-price">￥{$v.goodsnow}</div>
					                                                                                                                                                </li>
					                                                                                                                                                <li class="td td-number">
					                                                                                                                                                            <div class="item-number">
					                                                                                                                                                                        <span>×</span>{$v.number}
					                                                                                                                                                            </div>
					                                                                                                                                                </li>
					                                                                                                                                                <li class="td td-operation">
					                                                                                                                                                            <div class="item-operation">
					                                                                                                                                                                         
					                                                                                                                                                             </div>
					                                                                                                                                                </li>
					                                                                                                                                  </ul>
					                                                                                                                                  </volist>


					                                                                                                                     </div>
					                                                                                                                     <div class="order-right">
					                                                                                                                                  <li class="td td-amount">
					                                                                                                                                                <div class="item-amount">
					                                                                                                                                                    合计：￥{$vo.payprices}
					                                                                                                                                                    <p>含运费：<span>0.00</span></p>
					                                                                                                                                                </div>
					                                                                                                                                   </li>
					                                                                                                                                  <div class="move-right">
					                                                                                                                                                <li class="td td-status">
					                                                                                                                                                            <div class="item-status">
					                                                                                                                                                                        <p class="Mystatus">卖家已发货</p>
					                                                                                                                                                                        <p class="order-info">等待收货</p>
					                                                                                                                                                            </div>
					                                                                                                                                                </li>
					                                                                                                                                                <li class="td td-change">
					                                                                                                                                                            <div class="am-btn am-btn-danger anniu" onclick="receipt('{$vo.id}')">确认收货</div>
					                                                                                                                                                </li>
					                                                                                                                                   </div>
					                                                                                                                     </div>
					                                                                                                        </div>
					                                                                                            </div>
					                                                                                           <else/>
					                                                                                           </eq> 
					                                                                              </volist>
					                                                                              <!-- 分页链接 -->
					                                                                              <div class="am-fr">
					                                                                                          
					                                                                              </div>
										</div>
									</div>
								</div>

								<div class="am-tab-panel am-fade" id="tab5">
									<div class="order-top">
										<div class="th th-item">
											<td class="td-inner">商品</td>
										</div>
										<div class="th th-price">
											<td class="td-inner">单价</td>
										</div>
										<div class="th th-number">
											<td class="td-inner">数量</td>
										</div>
										<div class="th th-operation">
											<td class="td-inner">商品操作</td>
										</div>
										<div class="th th-amount">
											<td class="td-inner">合计</td>
										</div>
										<div class="th th-status">
											<td class="td-inner">交易状态</td>
										</div>
										<div class="th th-change">
											<td class="td-inner">交易操作</td>
										</div>
									</div>

									<div class="order-main">
										<div class="order-list">
											<volist name="orderlist" id="vo">
						                                                                               <eq name="vo.status" value="2">
						                                                                               <div class="order-status5">
						                                                                                            <div class="order-title">
						                                                                                                         <div class="dd-num">订单编号：<a href="javascript:;">{$vo.id}</a></div>
						                                                                                                         <div class="dd-num">买家昵称：<a href="javascript:;">{$vo.username}</a></div>
						                                                                                                         <span>成交时间：{$vo.createtime|date='Y年m月d日 H:i:s' ,### }</span>
						                                                                                            </div>
						                                                                                            <div class="order-content">
						                                                                                                         <div class="order-left">
						                                                                                                                      <volist name="vo.goodslist" id="v">
						                                                                                                                      <ul class="item-list">
						                                                                                                                                    <li class="td td-item">
						                                                                                                                                                <div class="item-pic">
						                                                                                                                                                             <a href="#" class="J_MakePoint">
						                                                                                                                                                                         <img src="{$v.goodsimg.0}" class="itempic J_ItemImg">
						                                                                                                                                                             </a>
						                                                                                                                                                </div>
						                                                                                                                                                <div class="item-info">
						                                                                                                                                                             <div class="item-basic-info">
						                                                                                                                                                                          <a href="#">
						                                                                                                                                                                                        <p>{$v.goodsname}</p>
						                                                                                                                                                                                        
						                                                                                                                                                                          </a>
						                                                                                                                                                             </div>
						                                                                                                                                                </div>
						                                                                                                                                    </li>
						                                                                                                                                    <li class="td td-price">
						                                                                                                                                                <div class="item-price">￥{$v.goodsnow}</div>
						                                                                                                                                    </li>
						                                                                                                                                    <li class="td td-number">
						                                                                                                                                                <div class="item-number">
						                                                                                                                                                            <span>×</span>{$v.number}
						                                                                                                                                                </div>
						                                                                                                                                    </li>
						                                                                                                                                    <li class="td td-operation">
						                                                                                                                                                <div class="item-operation">
						                                                                                                                                                             <a href="refund.html">评价</a>
						                                                                                                                                                 </div>
						                                                                                                                                    </li>
						                                                                                                                      </ul>
						                                                                                                                      </volist>


						                                                                                                         </div>
						                                                                                                         <div class="order-right">
						                                                                                                                      <li class="td td-amount">
						                                                                                                                                    <div class="item-amount">
						                                                                                                                                        合计：￥{$vo.payprices}
						                                                                                                                                        <p>含运费：<span>0.00</span></p>
						                                                                                                                                    </div>
						                                                                                                                       </li>
						                                                                                                                      <div class="move-right">
						                                                                                                                                    <li class="td td-status">
						                                                                                                                                                <div class="item-status">
						                                                                                                                                                             <p class="Mystatus">已收货</p>
						                                                                                                                                                             <p class="order-info">购物完成</p>
						                                                                                                                                                </div>
						                                                                                                                                    </li>
						                                                                                                                                    <li class="td td-change">
						                                                                                                                                                <div class="am-btn am-btn-danger anniu" onclick="delord('{$vo.id}')">删除订单</div>
						                                                                                                                                    </li>
						                                                                                                                       </div>
						                                                                                                         </div>
						                                                                                            </div>
						                                                                               </div>
						                                                                               <else/>
						                                                                               </eq> 
						                                                                 </volist>
						                                                                  <!-- 分页链接 -->
						                                                                 <div class="am-fr">
						                                                                              
						                                                                  </div>
			
										</div>

									</div>

								</div>
							</div>

						</div>
					</div>
				</div>
				<!--底部-->
				<!-- <div class="footer">
					<div class="footer-hd">
						<p>
							<a href="#">恒望科技</a>
							<b>|</b>
							<a href="#">商城首页</a>
							<b>|</b>
							<a href="#">支付宝</a>
							<b>|</b>
							<a href="#">物流</a>
						</p>
					</div>
					<div class="footer-bd">
						<p>
							<a href="#">关于恒望</a>
							<a href="#">合作伙伴</a>
							<a href="#">联系我们</a>
							<a href="#">网站地图</a>
							<em>© 2015-2025 Hengwang.com 版权所有</em>
						</p>
					</div>

				</div> -->
			</div>
			<aside class="menu">
				<ul>
					<li class="person ">
						<a href="/Home/Person/index"><i class="am-icon-user"></i>个人中心</a>
					</li>
					<li class="person">
						<a href="#"><i class="am-icon-newspaper-o"></i>个人资料</a>
						<ul>
							<li> <a href="/Home/Person/information">个人信息</a></li>
							<li> <a href="/Home/Person/safety">安全设置</a></li>
							<li> <a href="/Home/Person/address">收货地址</a></li>
						</ul>
					</li>
					<li class="person">
						<a href="#"><i class="am-icon-balance-scale"></i>我的交易</a>
						<ul>
							<li class="active"><a href="/Home/Person/order">订单管理</a></li>
						</ul>
					</li>
					

					<li class="person">
						<a href="#"><i class="am-icon-tags"></i>我的小窝</a>
						<ul>
							<li> <a href="/Home/Person/collection">收藏</a></li>
							<li> <a href="/Home/Person/foot">足迹</a></li>
							<li> <a href="/Home/Person/comment">评价</a></li>
							<!-- <li> <a href="news.html">消息</a></li> -->
						</ul>
					</li>

				</ul>

			</aside>
		</div>
		<!--底部-->
		<include file="./Application/Home/View/Share/footer.html"/>
<!-- Placed at the end of the document so the pages load faster -->
<script type="text/javascript" src="/Public/mobilemall/js/jquery-2.2.4.min.js"></script>
<script type="text/javascript" src="/Public/mobilemall/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/Public/mobilemall/js/owl-carousel/owl.carousel.js"></script>
<script type="text/javascript" src="/Public/mobilemall/js/themejs/libs.js"></script>
<script type="text/javascript" src="/Public/mobilemall/js/unveil/jquery.unveil.js"></script>
<script type="text/javascript" src="/Public/mobilemall/js/countdown/jquery.countdown.min.js"></script>
<script type="text/javascript" src="/Public/mobilemall/js/dcjqaccordion/jquery.dcjqaccordion.2.8.min.js"></script>
<script type="text/javascript" src="/Public/mobilemall/js/datetimepicker/moment.js"></script>
<script type="text/javascript" src="/Public/mobilemall/js/datetimepicker/bootstrap-datetimepicker.min.js"></script>
<script type="text/javascript" src="/Public/mobilemall/js/jquery-ui/jquery-ui.min.js"></script>

<!-- Theme files
============================================ -->
<script type="text/javascript" src="/Public/mobilemall/js/themejs/application.js"></script>
<script >
	//提醒卖家发货
	function shipment(orderid){
		$.post("/API/Message/Promptshipment",{"orderid":orderid},function(res){
			alert(res.data);
		});
	}

	//确认收货
	function  receipt(orderid){
		$.post("/API/Message/Confirmreceipt",{"orderid":orderid},function(res){
			alert(res.data);
			window.location.href='{:U('/Home/Person/order')}';
		});
	}

	function delord(orderid){
		if (confirm("确定删除订单吗?")) {
			$.post("/API/Message/Delorder",{"orderid":orderid},function(res){
				alert(res.data);
				window.location.href='{:U('/Home/Person/order')}';
			});
		}
	}
</script>
	</body>

</html>